package com.zack.shop.mvp.http.entity.cart;

import java.util.List;

/**
 * @Author 张迁-zhangqian
 * @Data 2018/6/9 下午6:14
 * @Package com.zack.shop.mvp.http.entity.cart
 **/

public class CartBean {

    private String cartId;//	主键ID	string
    private String goodsId;//	商品ID	string
    private String goodsName;//	商品名称	string
    private String drsc;//	简述	string
    private String goodsSpecId;//	商品规格ID	string
    private String createTime;//	创建时间	string
    private double price;//	零售价	double
    private double priceShow;//	展示价	double
    private int storageAmount;//	库存
    private int amount;//	订购数量	int
    private List<GoodsPhoto> goodsPhotos;//	商品图片集合	array

    private List<Parameter> parameters;//	商品参数集合	array


    class GoodsPhoto {
        private String photoId;//	商品图片ID	string
        private String url;//	图片地址	string
        private int photoType;//	图片类型(0：封面、1：普通图、2：详情图)	int
    }

    class Parameter {
        private String title;//	标题	string
        private String drsc;//	描述	string

    }

    public String getCartId() {
        return cartId;
    }

    public void setCartId(String cartId) {
        this.cartId = cartId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getDrsc() {
        return drsc;
    }

    public void setDrsc(String drsc) {
        this.drsc = drsc;
    }

    public String getGoodsSpecId() {
        return goodsSpecId;
    }

    public void setGoodsSpecId(String goodsSpecId) {
        this.goodsSpecId = goodsSpecId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getPriceShow() {
        return priceShow;
    }

    public void setPriceShow(double priceShow) {
        this.priceShow = priceShow;
    }

    public int getStorageAmount() {
        return storageAmount;
    }

    public void setStorageAmount(int storageAmount) {
        this.storageAmount = storageAmount;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public List<GoodsPhoto> getGoodsPhotos() {
        return goodsPhotos;
    }

    public void setGoodsPhotos(List<GoodsPhoto> goodsPhotos) {
        this.goodsPhotos = goodsPhotos;
    }

    public List<Parameter> getParameters() {
        return parameters;
    }

    public void setParameters(List<Parameter> parameters) {
        this.parameters = parameters;
    }
}
